package com.wanmait.wanmarecruit.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
* Created by Mybatis Generator 2022/09/19
*/
@Data
@TableName(value = "position_type_second")
public class PositionTypeSecond implements Serializable {
    /**
     * 二级分类id
     */
     @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField(value = "enable")
    private Boolean enable;

    /**
     * 类型名称
     */
    @TableField(value = "type_name")
    private String typeName;

    /**
     * 一级分类id
     */
    @TableField(value = "position_type_id")
    private Integer positionTypeId;
    @TableField(exist = false)
    private PositionType positionType;

    private static final long serialVersionUID = 1L;

    public static final String COL_ENABLE = "enable";

    public static final String COL_TYPE_NAME = "type_name";

    public static final String COL_POSITION_TYPE_ID = "position_type_id";
}